package com.smart.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.smart.entity.EnvironmentData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 环境数据 服务类
 * </p>
 *
 * @author Cookies
 * @since 2024-05-19
 */
public interface IEnvironmentDataService extends IService<EnvironmentData> {

    IPage<EnvironmentData> getEnvironmentDataByType(Integer current, Integer size, String type);

    List<EnvironmentData> getEnvironmentDataById(Integer device_id);
}
